#ifndef _MY_UTILS_CSVREADER_H
#define _MY_UTILS_CSVREADER_H

#include "cocos2d.h"
#include "../jsoncpp/json/json.h"
#include <string>
using namespace std;
USING_NS_CC;
using namespace Json;

bool checkKeys(Value& content);
Value* arrayToMapping(Value& content);
Value* arrayToMapping(const char* filePath);
void handleLine(Value& value,string line);
int findNextVaildChar(string content, bool& match);

void readCsv( Value& value,const char* filePath);

#endif
